package com.chrissy.music.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 *
 * @author Johnson
 */

@Component
@Data
@ConfigurationProperties(prefix = "music")
public class MusicConfig {

    private MusicConfig() {}

    /**
     * 验证码类型
     */
    private String captchaType;

}
